﻿using EmoneyWeiXinEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using EmoneyWeiXinCommon;

namespace EmoneyWeiXinDAL
{
    public class Act917moonDAL
    {
        //public static int InsertActData(Act917moonEntity entity, double zjMoeny)
        //{
        //    string sql = "proc_addDataForAct917moon";
        //    SqlParameter[] paras =
        //    {
        //      new SqlParameter("@openid",entity.openid),
        //      new SqlParameter("@ActName",entity.ActName),
        //      new SqlParameter("@isZhongjiang",entity.isZhongjiang),
        //      new SqlParameter("@zjMoney",zjMoeny)
        //    };
        //    return SQLHelper.ExecuteNonQuery(Config.EmoneyWeiXin, System.Data.CommandType.StoredProcedure, sql, paras);
        //}

        //public static Act917moonEntity GetActDatabyOpenId(string openid)
        //{
        //    string sql = "SELECT * FROM Act917moon WHERE openid=@openid";
        //    SqlParameter[] paras =
        //    {
        //      new SqlParameter("@openid",openid)
        //    };
        //    return SQLHelper.GetDataByColumns<Act917moonEntity>(Config.EmoneyWeiXin, sql, paras);

        //}

        //public static 
    }
}
